{
    // const box = document.getElementById('img') as HTMLImageElement
    
    // console.log(box.src) // ts报错


    type User = {
        name: string,
        age: number
    }
      
    const u1 = { } as User
      
    console.log(u1.name) // 这里就会有提示
}